﻿using XinLife.Model;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using XinLife.Core.Model;

namespace XinLife.Application.Interface
{
    public interface IAddressService
    {
        Task<List<Region>> GetRegion(string cRegionCode, int grade, int type = 0);

        Task<List<Region>> GetAllRegions();
        Task<AjaxResult> GettAddressForm(string id);
        Task<AjaxResult> EditRegion(Region region);
        Task<PageData<Region>> GetRegionPageList(Pagination page, string queryJson);
        Task<AjaxResult> DelAddress(string ids);
    }
}
